package com.tedu.springboot2302.entity;

import java.io.Serializable;

public class Article implements Serializable {
    private String topic;
    private String writer;
    private String article;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writerName) {
        this.writer = writerName;
    }

    public String getArticle() {
        return article;
    }

    public void setArticle(String article) {
        this.article = article;
    }

    public Article() {
    }

    public Article(String topic, String writer, String article) {
        this.topic = topic;
        this.writer = writer;
        this.article = article;
    }
}
